home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / wordproc / wf_v31c.arj / DOCS / WF.010 < prev    next >
Text File  |  1992-01-31  |  35KB  |  831 lines

  1. .f3                              - # -              Chapter 10 - Miscellaneous
  2. .rm70
  3. .tc
  4. .tc1
  5. .tc 10. MISCELLANEOUS STUFF ...............................#
  6. CHAPTER 10   MISCELLANEOUS STUFF
  7.  
  8. .imMargins
  9. This chapter contains information that does not easily fit any where
  10. else.
  11.  
  12. .Tc    Performing a Word Count ............................#
  13. Performing a Word Count
  14. .ixPerforming;Performing a Word Count (^JV)
  15. .ixWord Count;Word Count - Performing (^JV)
  16. .ixCounting;Counting Words or Characters
  17.  
  18. Word Fugue comes with a word counting option. Press Ctrl J V, and a
  19. pop up window will appear with information similar to the following:
  20.  
  21.              ╔═══ WordFugue Version 1.6a ════╗
  22.              ║  Current File:                ║
  23.              ║  C:\WF\DOC\WF.010             ║
  24.              ║  Modified                     ║
  25.              ║  161 Lines                    ║
  26.              ║  5146 Bytes                   ║
  27.              ║  735 Words                    ║
  28.              ║  3 Pages                      ║
  29.              ║                               ║
  30.              ║  Jul 10, 1989   10:11 AM      ║
  31.              ║  319103 RAM bytes free        ║
  32.              ║  DOS Version: 3.30            ║
  33.              ║  2854912 Disk bytes free      ║
  34.              ║  Current Directory:           ║
  35.              ║  C:\WF\DOCS                   ║
  36.              ╚═══════════════════════════════╝
  37.  
  38.                 Fig 10.1 - Word Count display
  39. .tc1 Fig 10.1 - Word Count display .........................#
  40.  
  41.  
  42. Press ESC to return to editing the file. The information is relevant
  43. to the current file, so if you have more than one window open, you
  44. will need to place the cursor in each window and enter the command.
  45.  
  46. Calculating the file size and word count can take a long time on a big
  47. file, so you can press the space bar while the Get Info window is
  48. being updated to short circuit the calculation of some items.
  49.  
  50. .tc       Partial word count ..............................#
  51. Partial Word Count
  52.  
  53. If the cursor is placed within a marked block, only the words within
  54. that block will be counted, otherwise the entire file will be counted.
  55.  
  56. .Tc    Convert a Wordstar file ............................#
  57. Convert a Wordstar file
  58. .ixConvert a Wordstar;Convert a Wordstar file
  59.  
  60. You can either set an option when you load the file, or use the block
  61. command to turn off Hi order bits in a marked block. They have
  62. slightly different effects.
  63.  
  64. Options are on the Load file menu of the Options menu
  65.  
  66. This will zero the High order bits in a Wordstar file. You will of
  67. course lose any wrapped information about lines, since they will all
  68. end in a hard Carriage return. Any control codes will be left
  69. untouched. If you wish to retain the line wrap information, you must
  70. use the marked block approach given below.
  71.  
  72. .CP7
  73. To Turn off bits in a marked block:
  74. .ixStrip Hi bits;Strip Hi bits (Ctrl K^)
  75.  
  76. 1. Mark the block of text with Ctrl K B and Ctrl K K.
  77.  
  78. 2. Press the keys Ctrl K ^       (you need shift plus the 6 key for ^)
  79.    Word Fugue will turn off the hi bits in the marked block.
  80.  
  81. For example:
  82.     áíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╘╒╓╫╪┘┌█µτΦΘ
  83.  
  84.   becomes
  85.      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRTUVWXYZ[fghi
  86.  
  87. Strip Hi Bits on File Load
  88.  
  89. This is on the Global file submenu of the Options menu of the pull
  90. down menu. You can install it as a command sequence using WFINST, but
  91. the default is no command sequence. When Hi-bit strip is ON, the most
  92. significant bit of each character read from the disk will be set to
  93. zero. This is useful when reading in files previously generated in
  94. Wordstar document mode. Note that stripping the high bit will also
  95. affect any usage of the IBM extended ASCII character set, such as the
  96. line drawing characters.
  97.  
  98. .Tc    Convert Tab Characters To Spaces on Reading ........#
  99. Convert Tab Characters To Spaces on Reading
  100. .ixConvert;Convert Tabs to Spaces
  101. .imTabs
  102. .ix   Converting Tabs to Spaces
  103.  
  104. This is the Expand tabs option on the Load File submenu of the Load
  105. file menu of the pull down menu. You can install a command sequence
  106. for this command by using WFINST, but the default has no sequence
  107. installed. When tab expansion is ON, any tabs encountered upon read-in
  108. of a file are expanded into spaces, using a tab spacing that you
  109. specify. If tab expansion is OFF, Word Fugue leaves the tabs intact.
  110. In this case, Word Fugue does not expand tabs as it displays them, so
  111. these will be displayed on the screen as I.
  112.  
  113. .tc    Convert Spaces to Tabs When Writing The File .......#
  114. Convert Spaces to Tabs When Writing The File
  115. .ix   convert Spaces to Tabs
  116.  
  117. This is the Write tabs option on the Load File submenu of the Load
  118. file menu of the pull down menu. You can install a command sequence
  119. for this command by using WFINST, but the default has no sequence
  120. installed. By default, Word Fugue does not write tab characters in
  121. files saved from the editor. If Tab Writing is activated, Word Fugue
  122. will translate sequences of spaces to tabs in order to save disk space
  123. for the output file. Tabs are computed using the fixed spacing
  124. currently set for fixed tabs. Multiple spaces found within pairs of
  125. single or double quotes (as used in Pascal or C source code) will not
  126. be converted to tabs.
  127.  
  128. .tc    Outline Processing .................................#
  129. Outline Processing
  130.  
  131. Outline Processing is the ability to jot down your thoughts such as
  132. subject headings, and later flesh them out into a complete document.
  133. You have the ability to view only the headings, or the details, or
  134. both. The details can include other details at lower levels again.
  135.  
  136. .CP5
  137. With Word Fugue, this can be achieved by use of .FI and the Alt F
  138. command. Jot down your headings in a file. When you are ready to flesh
  139. them out, place a .FI command in column one on the line beneath each
  140. heading, and type a file name after the .FI command. Use a different
  141. file name on each .FI line.
  142.  
  143. Place the cursor on a line containing a .FI command, and press Alt F.
  144. Word Fugue will open another window with the new file loaded ready for
  145. editing. This file can in turn contain other .FI commands, which can
  146. be loaded in a similar fashion. If you do not have Zoom Windows set,
  147. you will see all files on the screen at the same time. You can nest
  148. include files up to 5 deep, which should give you plenty of scope for
  149. the biggest outlines.
  150.  
  151. .tc    Ruler Lines ........................................#
  152. Ruler Lines
  153. .IMRuler Lines
  154. .ixRR; .RR - Ruler line
  155.  
  156. A ruler line is used to determine the documents current left and right
  157. margins, tab stops and column boundaries. The current ruler line is
  158. displayed at the top of the document, unless you turn the display off.
  159.  
  160. The option to display the ruler line can be changed as part of the
  161. Options menu on the Ruler sub menu, or it can be changed by entering
  162. Ctrl O T, which will turn the display on and off.
  163. .ix   Display of
  164.  
  165. Word Fugue's default ruler is shown below. It is designed for type at
  166. 10 characters per inch on standard 8 inch stationery. The left margin
  167. is in column 1, the right margin in column 70, and tab stops every 8
  168. spaces beginning at column 9.
  169.  
  170.     L-------!-------!-------!-------!-------!-------!-------!-------!----R
  171.  
  172. .ixJustification;Justification of Text (^O^J or .RR)
  173. The ruler line can contain the following characters:
  174.  
  175.         Character       Meaning
  176.         L               Left margin
  177.         R               Right margin (ragged justification)
  178.         J               Right margin (justified)
  179.         !               Tab stop
  180.         <               Left margin of a column       ┌only effective if
  181.         >               Right Margin of a column      ┤word wrap and column
  182.         ]               Justified right column margin └mode are active
  183.                         or right table margin         ┌only effective if
  184.         {               Left margin of a table        ┤word wrap and column
  185.         }               Right margin of a table       └mode are active
  186.                        Temporary Indent or currently active wrap
  187.                         margin. (Set by the computer)
  188.         W               Wrap margin
  189.         -               Space between ruler symbols
  190.  
  191. When you change left or right margin using Ctrl O L or Ctrl O R, the
  192. ruler line changes to show a new margin. This ruler is in effect
  193. throughout the document until you change it. If you use .LM and .RM
  194. dot commands to change a margin, the new ruler is in effect in the
  195. file below the dot command. Above the dot command the previous ruler
  196. is in effect.
  197.  
  198. .CP5
  199. If you set the wrap margin from the ruler line, it is in effect from
  200. the ruler line down through the document until another ruler line
  201. changes it. When that wrap column is active, it will show as a  in
  202. the ruler line. The ruler line wrap column may be overwritten by the
  203. use of the Temporary Indent.
  204.  
  205. .imMargins
  206. .ix   Temporary Wrap margin (F4)
  207. .ixRR; .RR - Ruler line
  208. When you use F4 or Ctrl O G to set the Temporary Indentation, the
  209. ruler line shows the temporary margin  as long as it is in effect. A
  210. temporary left margin is terminated if you move the cursor above the
  211. line on which you set the temporary margin, or down past a blank line.
  212. While the temporary margin is active, the old wrap column will show as
  213. a W in the ruler line.
  214.  
  215. .ix   Left Margin (.LM or .RR or ^OL)
  216.    Left Margin controls where text will be placed when you type.
  217.    Characters entered to the left of the left margin will be pushed
  218.    right until they are within the left margin.
  219.  
  220. .ixJustification;Justification of Text (^O^J or .RR)
  221. .ix   Right Margin (.RM or .RR or ^OR)
  222.    Right Margin and Justified Right Margin controls where text will be
  223.    wrapped. Text will not be allowed to extend beyond the right margin
  224.    after a wrap operation.
  225.  
  226. .ix   Wrap Margin (.RR or F4)
  227.    Wrap Margin determines where text that overflows a line will be
  228.    continued on the next line. Wrap margins must be at least equal to
  229.    the left margin, and less than the right margin, to be effective.
  230.    Text typed inside the left margin, but to the left of the wrap
  231.    margin, will be left where it is, unless it is the second or
  232.    subsequent line of a paragraph, and a paragraph reformat operation
  233.    is performed.
  234.  
  235. .imRuler Lines
  236. .ix   Tab Stops
  237.    Tab Stops determine where the cursor will travel when you press the
  238.    Tab key (for forward movement) or the Shift Tab key (for backward
  239.    movement).
  240.  
  241. .ixMargins                ;   Releasing (^OX)
  242.    Release Margins. The margins set can be temporary released by use
  243.    of the Ctrl O X command. This command releases the margins for the
  244.    line the cursor is in, and no others. Word wrap will not happen,
  245.    and you can type in text up to the maximum line length.
  246.  
  247.    As soon as the cursor leaves the line, the margins are restored,
  248.    and text wrapping occurs normally.
  249. .CP6
  250. .tc       Columns And Tables ..............................#
  251.    Columns And Tables
  252.  
  253.    Columns
  254. .ix   columns
  255.  
  256.    Columns in a ruler are independent parts of the text that wrap.
  257.    Columns are indicated by < for the left margin and > for the right
  258.    margin or ] for the right justified margin. When Word Wrap is
  259.    active, text will wrap to stay within the margins (both left and
  260.    right). A column is independent of any other columns, so text in a
  261.    column will wrap downwards into blank lines in the column. If no
  262.    blank lines are available, a blank line will be inserted at the end
  263.    of the column to absorb the overflow. This blank line may interfere
  264.    with other columns by placing a blank line in the middle of another
  265.    column. To overcome this, define your columns as tables.
  266.  
  267. .CP10
  268.     eg:
  269.               www    xxx    yyy
  270.               www    xxx    yyy
  271.               www           yyy
  272.                      xxx    yyy
  273.               www    xxx    yyy
  274.               www    xxx
  275.               www           yyy
  276.                             yyy
  277.  
  278.    You will note that each column has entries that end independently
  279.    of each other. Wrapping slides the text in one column up and down
  280.    without regard to the contents of other columns.
  281.  
  282.    Tables
  283. .ix   Tables
  284.  
  285. .ixJustification;Justification of Text (^O^J or .RR)
  286. .ixRR; .RR - Ruler line
  287.    Tables are columns of text that are related to each other. They are
  288.    delimited in the ruler line by { for the left margin and either }
  289.    or > for the right margin, or ] for the right justified margin. The
  290.    columns of a table are terminated by a blank line. When a column of
  291.    a table is wrapped, blank lines are inserted at the end of the
  292.    table entry. This means that a blank line is looked for, or a dot
  293.    command line, and blank lines are inserted before this line. This
  294.    means that adjacent columns never have blank lines inserted in the
  295.    middle.
  296.  
  297.    eg
  298.               www    xxx    yyy
  299.               www    xxx    yyy
  300.               www           yyy
  301.                             yyy
  302.                             yyy
  303.                                      ───── this is the end of the entry
  304.               www    xxx    yyy
  305.               www    xxx    yyy
  306.               www    xxx
  307.  
  308.    You will note that a table has entries in adjacent columns, and the
  309.    end of the entry has a blank line across the entire table. Wrapping
  310.    slides the contents of one column up and down as required, but
  311.    never pushes the text down below the blank line, instead inserting
  312.    new lines before it as required to absorb the overflow of the
  313.    column.
  314.  
  315. .CP5
  316. .tc       Editing a Ruler .................................#
  317. Editing a Ruler
  318. .ix   Editing
  319. .ixRR; .RR - Ruler line
  320.  
  321. You can edit the ruler line by entering Ctrl O E. You do not need to
  322. display the ruler line to be able to edit it. While in edit mode, you
  323. move the cursor and type in the appropriate symbols where you want
  324. them. Press Enter to accept the new line, or ESC to return to the
  325. original.
  326.  
  327. However, if you use dot commands that effect the ruler line in your
  328. document, as soon as you press return, if the cursor were positioned
  329. below any of these dot commands in the document, they will
  330. automatically affect the ruler you have edited. However, this can be
  331. overcome by embedding the ruler line in the text where ever you need a
  332. new ruler line, and editing the embedded line. (See below)
  333.  
  334. .tc       Embedded Ruler Lines ............................#
  335. Embedded Ruler Lines
  336. .ix   Embed in text
  337. .ixEmbed;Embed Ruler Lines (^OO or .RR)
  338.  
  339. You can embed a ruler line in the text so that it is in effect on the
  340. text below it and it is stored with the file. Every time the cursor
  341. moves below an embedded ruler line, the document's margins and tab
  342. stops automatically change to reflect the new line. An embedded ruler
  343. is entered with .RR as the dot command. The ruler line follows the
  344. .RR command.
  345.  
  346. There are several ways of embedding ruler lines in your document.
  347.  
  348.      ■  Type in the entire ruler line. Start by typing .RR in columns
  349.         1 to 3. Then, on the same line, type in the ruler itself,
  350.         starting with the left margin. Since the first 3 characters
  351.         are the dot command, all embedded ruler line character
  352.         positions are 3 characters to the right of the actual
  353.         position. Thus
  354.  
  355.                 .RRL.....!.......................R
  356.  
  357.         where the L is entered in column 4, makes the left margin
  358.         effective in column 1, a tab stop effective in column 7, and
  359.         the right margin in column 31. The dots between the characters
  360.         are simply to show character spacings. Use spaces in the
  361.         embedded ruler line.
  362.  
  363.      ■  Use the command Ctrl O O to insert a copy of the current ruler
  364.         line into your text.
  365.  
  366.      ■  Use the ruler file WF.RLR to store often used ruler lines, and
  367.         use the macro commands Alt M S to embed the first such line
  368.         into the text, and the command Alt M R to display a list of
  369.         ruler lines, and select the one you want.
  370.  
  371. .tc       Stored Rulers ...................................#
  372. Stored Rulers
  373. .ix   Stored
  374. .ix   WF.RLR
  375. .ixRR; .RR - Ruler line
  376.  
  377. You can store up to 36 ruler settings in the file WF.RLR.
  378.  
  379. Using a Stored Ruler
  380. .ix   Using a Stored Ruler
  381.  
  382. There are 2 macro commands provided to access rulers stored in the
  383. ruler file. Because they are macro commands, you can always write
  384. additional commands to load additional rulers from a different file if
  385. you need to go beyond 36 rulers.
  386.  
  387.    Embed Default Stored Ruler
  388. .ix   Embed Default Stored Ruler
  389.  
  390.    The command Alt M S embeds the default stored ruler before the line
  391.    the cursor is in. The default ruler is always number 1 (unless you
  392.    change the macro).
  393.  
  394. .CP7
  395.    Embed Stored Ruler From Menu
  396. .ix   Embed Stored Ruler From Menu
  397.  
  398.    The command Alt M R loads the file WF.RLR and displays a menu of
  399.    rulers. Select the one you want to embed, and press Enter to embed
  400.    it, or ESC if you change your mind. The alternative long format of
  401.    the command is Ctrl J I R which loads file WF.RLR and displays the
  402.    menu of stored rulers. When you select your ruler to embed, it is
  403.    embedded, and the macro file is reloaded.
  404.  
  405. Storing a Ruler
  406. .ix   Storing a Ruler
  407.  
  408. The ruler file has exactly the same structure as a macro file, and
  409. rulers can be entered by loading it as a macro file, selecting to
  410. record macros, and then typing in the ruler line exactly as you want
  411. it, and then turning off macro recording. You will be asked which slot
  412. to record the ruler in, and a name for it. (Refer to the chapter in
  413. macros for more information) Don't forget to save the ruler file
  414. (using the save macro command), and to re-load your original macro
  415. file.
  416.  
  417. Editing a Stored Ruler
  418.  
  419. Once you have stored rulers in the file WF.RLR, you can edit them by
  420. loading the file as the macro file, editing the entries (Alt E), and
  421. saving the file. Don't forget to re-load your original macro file.
  422.  
  423.  
  424. .tc    Using A Mouse ......................................#
  425. Using A Mouse
  426. .imMouse
  427. .ix   Using a mouse
  428.  
  429. Word Fugue recognises a mouse, and will respond to its movement and
  430. button clicks. Sensing is automatic - if the mouse driver is present
  431. and returns a good status, then the mouse cursor is displayed as a
  432. block of colour that changes depending on the colours underneath.
  433.  
  434. Scroll Bars
  435. .ix   Scroll Bars
  436.  
  437. If you have set the appropriate option - Mouse Scroll on the Display
  438. Options sub menu of the Options menu, then Word Fugue will display a
  439. scroll bar on the right hand side of the screen. This includes scroll
  440. arrows and a solid block elevator that shows the relative position in
  441. the file.
  442.  
  443. You can use the scroll bar to change the position on the file. Place
  444. the mouse cursor on one of the arrows and press the left mouse button.
  445. As you hold the button down the text will scroll as if you were moving
  446. the cursor in the direction of the arrow. The text should scroll at
  447. about the same rate as with the arrow keys. Scrolling will stop as
  448. soon as you release the button.
  449.  
  450. If you place the mouse cursor on the scroll bar between the elevator
  451. bar and the arrow, clicking the left button will cause the display to
  452. page up or down, depending on where the mouse cursor is in relation to
  453. the elevator block. If the mouse cursor is above the elevator block,
  454. then the left button click will page up, while if the mouse cursor is
  455. below the elevator block, a left button click will page down.
  456.  
  457. .CP8
  458. Mouse Operation
  459. .ix   Mouse Operation
  460.  
  461. The mouse cursor will move around the screen as the mouse is moved,
  462. but if no buttons are clicked or pressed, nothing else happens.
  463. Clicking mouse buttons will have different effects depending upon
  464. where the mouse cursor is on the screen. Dragging the mouse cursor
  465. (pressing one or more buttons and moving the mouse at the same time)
  466. affects the physical cursor position.
  467.  
  468.  
  469.       Top 2 Lines of the screen:
  470.  
  471.           Left Button click  - Open another window
  472.           Right Button click - Activate PullDown Menu
  473.           Both Buttons click - Activate Help Menu
  474.  
  475.       Scroll Bar:
  476.  
  477.            Arrows:
  478.  
  479.                 Press Left button to scroll up or down
  480.  
  481.            Bar:
  482.  
  483.                 Click left button to page up (above elevator)
  484.                  or page down (below elevator)
  485.  
  486.       Text Body:
  487.  
  488.            Left Button click - jump to position of mouse cursor
  489.                          (will change windows if necessary)
  490.            Right Button - restore current line
  491.            Both buttons - press & drag to mark a block
  492.                         marking stops when you release button
  493.                         positions cursor at the end of the marked
  494.                         block
  495.  
  496.       Menu System:
  497.  
  498.            Left Button click  - select highlighted choice
  499.            Right Button click - escape to previous level
  500.            Both buttons click - Help (if available)
  501.            Left Button Drag   - move highlight
  502.            if you change your mind, drag mouse to top line, and release button
  503.  
  504.  
  505. .tc    Help System ........................................#
  506. Help
  507. .IMHelp
  508. .ix   Help Menu
  509. .ix   Context Sensitive
  510.  
  511. The help system that comes with Word Fugue has 2 modes of operation -
  512. Menu and Context Sensitive. Because of the way the keyboard
  513. installation program functions, the help file always reflects the
  514. current keyboard layout. The keyboard installation program regenerates
  515. the help file from the WF.TXT file. This file contains special markers
  516. for the keystrokes that are associated with commands, and when the
  517. help file is generated, these markers are replaced with the names of
  518. the installed keystrokes, and displayed as part of the help text. A
  519. similar process also allows the display of the associated keystrokes
  520. when using the pull down menu system.
  521.  
  522. When you have finished with the help screens, pressing ESC will return
  523. you to what you were doing before.
  524.  
  525. .tc       Menu Driven .....................................#
  526. Menu Driven
  527.  
  528. .ix   Help Menu
  529. When you are at the edit window, pressing F1 will activate the Help
  530. Menu System. You can select a topic by highlighting it and pressing
  531. the enter key, or by pressing the highlighted letter that starts the
  532. topic.
  533.  
  534.                        ╔═════ Help Sections ══════╗
  535.                        ║  About Word Fugue        ║
  536.                        ║  Blocks                  ║
  537.                        ║  Cursor movement         ║
  538.                        ║  Files                   ║
  539.                        ║  Goto movement           ║
  540.                        ║  Insert and delete       ║
  541.                        ║  K - Function keys       ║
  542.                        ║  Macros                  ║
  543.                        ║  Options and toggles     ║
  544.                        ║  Printing                ║
  545.                        ║  Q - Search and replace  ║
  546.                        ║  Rulers & Tabs           ║
  547.                        ║  Spell checking          ║
  548.                        ║  Text commands           ║
  549.                        ║  Utilities               ║
  550.                        ║  Windows                 ║
  551.                        ╚══════════════════════════╝
  552.  
  553.                         Fig 10.2 - Help Menu
  554. .tc1 Fig 10.2 - Help Menu ..................................#
  555.  
  556.  
  557. Most topics have several pages of text are available, which can be
  558. paged through by pressing the Page Up and Page Down keys.
  559.  
  560. When you have finished with the help screens, pressing ESC will return
  561. you to what you were doing before.
  562.  
  563. .tc       Context Sensitive ...............................#
  564. Context Sensitive
  565. .ix   Context Sensitive
  566.  
  567. Context sensitive help is active when you are within the pulldown menu
  568. system. Pressing F1 will present a help screen relevant to the
  569. highlighted topic. If there is more information than will fit on the
  570. screen, you can page through it by pressing the Page Down and Page Up
  571. keys.
  572.  
  573. .cp12
  574. .tc    Shell to Dos .......................................#
  575. Shell to Dos
  576. .imDOS Shell
  577. .ix   Shell to DOS
  578. .irShell to DOS;Shell To DOS - See DOS Shell
  579.  
  580. You can run other programs from Word Fugue, or gain access the the dos
  581. prompt. This process is generally referred to as "Shelling to Dos".
  582.  
  583. Press Ctrl F10 to activate a prompt for a dos command. You can either
  584. enter a command to run, or press Enter on a blank prompt for access to
  585. the DOS prompt.
  586.  
  587.  
  588.     ╔═════════════════ DOS command (<Enter> for shell) ═════════════╗
  589.     ║dir                                                            ║
  590.     ╚═══════════════════════════════════════════════════════════════╝
  591.  
  592.                         Fig 10.3 - Dos Shell Prompt
  593. .tc1 Fig 10.3 - Dos Shell Prompt ...........................#
  594.  
  595. Run a Command
  596. .ix   Run DOS command
  597.  
  598. If you enter a command, that command will be run, and the message
  599. "Press any key to continue ..." will be displayed, permitting you to
  600. see any output of the command on the screen. Pressing any key will
  601. return you to your document, with everything as it was before.
  602.  
  603. Dos Prompt
  604. .ix   DOS prompt
  605.  
  606. If you press Enter on a blank Dos prompt window, you will simply be
  607. presented with the familiar DOS prompt. In this case, you will have to
  608. type the command EXIT at the dos prompt in order to return to your
  609. document.
  610.  
  611. In this case, Word Fugue changes the DOS prompt so that it lets you
  612. know that Word Fugue is still loaded:
  613.  
  614.  
  615.                     Approximate memory available: 170K
  616.                     TYPE EXIT to return to program...
  617.  
  618.  
  619.                     WordFugue... c:\wf\doc>
  620. 
  621.  
  622.  
  623.                         Fig 10.4 - Modified Dos Prompt
  624. .tc1 Fig 10.4 - Modified Dos Prompt ........................#
  625.  
  626.  
  627. How It Works
  628.  
  629. Word Fugue looks for the environment variable COMSPEC to determine
  630. what your DOS command processor is called, and where to find it. If
  631. you have not set the COMSPEC variable, you will not be able to use
  632. this function. You should always have a command in your AUTOEXEC.BAT
  633. file to set the COMSPEC variable whenever you boot your machine. If
  634. you have not, then you should have this line in your AUTOEXEC.BAT
  635. file:
  636.  
  637.         SET COMSPEC=C:COMMAND.COM
  638.  
  639. .CP5
  640. Consult your DOS manual for more information on the SET command and
  641. the COMSPEC variable. The use of the COMSPEC variable is the standard
  642. method of activating the DOS command processor, since if you have
  643. replaced the standard COMMAND.COM with some other processor, the
  644. replacement processor will be activated.
  645.  
  646. If an error occurred, you will be informed with an error window, and
  647. will have to press ESC to return to your document. A typical error is
  648. when COMMAND.COM cannot be found, or there is not enough memory to run
  649. your request.
  650.  
  651. .tc       Autosave ........................................#
  652. Autosave
  653. .ix   Autosave and
  654.  
  655. If you have the AUTOSAVE toggle active, then all modified files will
  656. be saved before attempting to invoke DOS. This makes he latest
  657. versions of files available to any program you may run, and protects
  658. you against crashing the machine while in DOS.
  659.  
  660. Conversely, if AUTOSAVE is off, no saving will be done.
  661.  
  662. .CP5
  663. .tc       Memory ..........................................#
  664. Memory Available
  665. .ix   Memory Available
  666.  
  667. How effective your dos commands are often depends on the amount of
  668. memory available for them. The default is only available memory which
  669. is left after the program is loaded plus any files you may be editing.
  670. On a machine with 640k this is normally more than adequate, but there
  671. can be times when you need more memory to be made available.
  672.  
  673. The amount of memory available for DOS depends upon the setting of the
  674. Invoke Dos option of the Global File Options of the Options menu. This
  675. option has 2 values:
  676.  
  677.       Available Memory
  678.       All Memory
  679.  
  680.    Available Memory is the factory default. This refers to the amount
  681.    of memory left after you have loaded Word Fugue plus any files you
  682.    may be editing, plus any working space (eg for printing etc). The
  683.    amount that Word Fugue is not currently using is made available to
  684.    DOS.
  685.  
  686.    All Memory is the alternative. In this case, Word Fugue swaps
  687.    memory it is using to disk to free up more memory for DOS, and then
  688.    reloads this memory later.   A stub of approximately 8K remains in
  689.    memory, while the rest of the program and memory it is using is
  690.    swapped either to EMS memory (if you have some and sufficient is
  691.    available) or to the default disk drive and directory (if there is
  692.    sufficient room there). On disk, the swap file is called
  693.    nnnnnn.$WP, where nnnnnn is the current time of day, and is marked
  694.    as a system and hidden file. It will not be visible to normal DOS
  695.    commands. Do not delete this file after shelling to DOS, or you
  696.    will lock up your machine when you try to exit back to Word Fugue.
  697.  
  698. The use of the current time of day for the file name is to avoid
  699. problems if you shell to DOS, load Word Fugue again, and shell to DOS.
  700. They will use different swap files, and so won't crash your machine.
  701. We cannot think of a good reason for why anyone would want to do this,
  702. but we believe in Defensive Programming.
  703.  
  704. If you are running from floppies, this option may not have enough room
  705. to create a swap file, and you may find it rather slow to come up with
  706. the DOS prompt.
  707.  
  708. .CP7
  709. When you swap memory, a message will be displayed to that effect:
  710.  
  711.  
  712.                     360971 bytes are being swapped
  713.                     Approximately 522K bytes of RAM available
  714.  
  715.  
  716.                     WordFugue... c:\wf\doc>
  717.  
  718.  
  719.                         Fig 10.5 - Swapping Display
  720. .tc1 Fig 10.5 - Swapping Display ...........................#
  721.  
  722. .CP5
  723. The actual amount of memory available will depend on how much memory
  724. your machine has, and how much of it is taken up with memory resident
  725. (TSR) programs.
  726.  
  727. .Tc    Drawing Lines & Boxes ..............................#
  728. Drawing Lines & Boxes
  729. .irBox Drawing;Box Drawing - See Drawing Lines & Boxes
  730. .irLine Drawing;Line Drawing - See Drawing Lines & Boxes
  731. .imDrawing Lines & Boxes
  732. .ix   Characters
  733. .ir   See also Appendix F for a list of codes
  734.  
  735. Drawing lines and boxes utilises the IBM graphics characters provided
  736. as part of the computer's character set. If you use code pages, you
  737. should check that the code page you use supports these characters.
  738. Those of you who use the default (American) code page, or who do not
  739. use code pages, will find these characters are standard. For more
  740. information on Code Pages, please refer to your DOS manual.
  741.  
  742.  
  743.         Single            ┌ ┐ ─ │ └ ┘ ┬ ┤ ├ ┴ ┼
  744.  
  745.         Double            ╔ ╗ ═ ║ ╚ ╝ ╦ ╣ ╠ ╩ ╬
  746.  
  747.         Mixed      ╢ ╟ ╤ ╧ ╕ ╒ ╓ ╖ ╘ ╛╙ ╜ ╡ ╞ ╨ ╥ ╫ ╪
  748.  
  749.  
  750.  
  751.                     Fig 10.6 - Line Drawing Characters
  752. .tc1 Fig 10.6 - Line Drawing Characters ....................#
  753.  
  754.  
  755. .ix   Display on screen
  756. To display the line drawing characters on the screen, you need the
  757. appropriate code page, as discussed above.
  758.  
  759. .ix   Printing
  760. To print the line drawing characters, you need a printer that supports
  761. the line drawing characters. Some printers will need the appropriate
  762. printer code page set up, while others will need the appropriate
  763. control code sent before the characters will print. For example, many
  764. Epson compatible printers will print italic characters instead of line
  765. drawing characters. If this happens, you will need to consult your
  766. printer manual for the appropriate control code to be sent, and
  767. include this code as part of the initialisation sequence for your
  768. printer. Consult chapter 16 for more information on this.
  769.  
  770. .CP5
  771. .ix   Entering line drawing characters
  772. Entering Line Drawing Characters
  773.  
  774. There are two methods that you can use to enter line drawing
  775. characters into your text -
  776.  
  777.      ■ Entering the codes on the numeric key pad
  778.      ■ Using Macro files to select the characters
  779.  
  780. Using the numeric keypad requires that you know the numeric code for
  781. the character. For example, to enter the character ╠, you need to know
  782. that the code is 204. You then hold down the ALT key, and press the
  783. digits 204 on the numeric key pad while you are pressing the ALT key.
  784. When you release the ALT key the character will appear on the screen.
  785.  
  786. You can refer to the table in Appendix F for a list of characters and
  787. the numeric codes.
  788.  
  789. Using the Macro Files is far easier. Two files are supplied -
  790. SINGLE.MAC & DOUBLE.MAC containing character definitions for drawing
  791. single lines and double lines respectively. They can be loaded into
  792. the macro buffer by use of the Alt L command (load macro file), and
  793. then replayed by use of the standard macro commands.
  794.  
  795. For example, ALT 0 (using the keys along the top of the key board) will
  796. display a list of characters, and allow you to choose one to be
  797. inserted into the text. Alt - (again using the keys along the top of
  798. the keyboard) will allow you to enter the same character a number of
  799. times - very useful for drawing lines. Please refer to the chapter on
  800. Macros for more information about replaying macro characters.
  801.  
  802. .CP5
  803. In addition, each line drawing macro file supplies a macro to draw a
  804. single vertical line, and then move the cursor down one line and
  805. position it under the character just inserted. This is activated by
  806. ESC U for each of the 2 macro files.
  807.  
  808. To enter a single character, there is no need to explicitly load one
  809. of the line drawing macro files. Instead, the standard macro file
  810. (WF.MAC) provides 2 commands for inserting a single line drawing
  811. character. These commands are
  812.  
  813.         ESC K - display a pick list of single line drawing characters,
  814.                 and insert one into the text
  815.         ESC L - display a pick list of double line drawing characters,
  816.                 and insert one into the text
  817.  
  818. This process is accomplished by loading the appropriate line drawing
  819. macro file to display the pick list, and then reloading the original
  820. macro file. If you run from floppies or a slow hard disk, you may
  821. notice some delay as files are loaded.
  822.  
  823. .ixTIPS;   Box drawing
  824. .ixTIPS;   Drawing boxes
  825. TIP - When you edit inside a box you have drawn, turn Insert off,
  826.       otherwise the characters you type will push the right side of
  827.       the box to the right on the line you are editing. Also be
  828.       careful when using the Backspace and Del keys. If you
  829.       erase a character that is inside the box, the right side of the
  830.       box will be sucked left on the line you are editing.
  831.